<?php
class confirmerDemandeForm extends BaseForm
{
  public function configure()
  {
	$this->setWidgets(array('justifurgence' =>  new sfWidgetFormTextarea()));
    
	$this->offsetGet('justifurgence')->getWidget()->setAttributes(array(
			'class'=> "commentaire",
			));
//	$this->widgetSchema->setNameFormat('demandes1[%s]');
	// On active le formatage particulier
	$this->getWidgetSchema()->setFormFormatterName('edsl');


	$this->getWidgetSchema()->setHelps(array(
		    'Valideur' =>  'Valideur',
		));	
	//Set labels
	$this->widgetSchema->setLabels(array(
      'justifurgence'    => 'Justification de l\'urgence',
    ));
    $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);			
  }
}  	